﻿//************************************************************ 
// Copyright © 2009 - 2010 Oleg Stuhin & Rostislav Haitovich
// To learn more about Mytrip.Mvc.Entyty visit 
// http://starterkitmytripmvc.codeplex.com/
// mytripmvc@gmail.com
// license: Microsoft Public License (Ms-PL) 
// ***********************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Mytrip.Localization
{
    /// <summary>
    /// Localisation Setting
    /// </summary>
    public class LocalisationSetting
    {
        /// <summary>
        /// Default Culture
        /// </summary>
        public static string defaultCulture = ConfigurationManager.AppSettings["defaultCulture"];
        /// <summary>
        /// All Culture
        /// </summary>
        public static string allCulture = ConfigurationManager.AppSettings["allCulture"];
        /// <summary>
        /// Unlock All Culture
        /// </summary>
        public static bool unlockAllCulture = bool.Parse(ConfigurationManager.AppSettings["unlockAllCulture"]);
        /// <summary>
        /// All Culture Massive
        /// </summary>
        public static string[] allCultureMassive = allCulture.Split(',');
    }
}
